package com.tomorrowbbs.domain.constants;

public class Constants {
    public static final Integer ONE = 1;
    public static final Integer ZERO = 0;
    public static final Integer LENGTH_5 = 5;
    public static final Integer LENGTH_10 = 10;
    public static final Integer LENGTH_15 = 15;
    public static final Integer LENGTH_30 = 30;

    public static final Integer FILE_SIZE_1M = 1024 * 1024;

    public static final Long Integral_5 = 5L;
    public static final String CHECK_CODE_KEY = "check_code_key";
    public static final String CHECK_CODE_KEY_EMAIL = "check_code_key_email";
    public static final String NO_ADDRESS = "未知";
    public static final String SESSION_KEY = "session_key";
    public static final String FILE_FOLDER_FILE = "/file/";
    public static final String FILE_FOLDER_ATTACHMENT = "attachment/";
    public static final String FILE_FOLDER_IMAGE = "images/";
    public static final String FILE_FOLDER_AVATAR_NAME = "avatar/";
    public static final String AVATAR_SUFFIX = ".jpg";
    public static final String AVATAR_DEFAULT = "default_avatar.jpg";
    public static final String FILE_FOLDER_TEMP = "/temp/";
    public static final String FILE_FOLDER_TEMP_2 = "temp";
    public static final String READ_IMAGE_PATH="/api/file/getImage/";
    public static final String[] IMAGE_SUFFIX = new String[]{".png",".PNG",".jpg",".JPG",".jpge",".JPGE",".gif",".GIF",".bmp",".BMP"};


}
